<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/5/24
  Time: 14:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>insert</title>
</head>
<body>
    <form action="../main2/insert">
        <a href="../main2/findAll">返回首页</a>
        <table>
            房屋描述: <input type="text" name="desc" required />
            户型: <select name="type" required>
            <c:forEach var="house" items="${houseTypeList}">
                <option value="${house.typeId}">${house.typeName}</option>
            </c:forEach>
        </select>
            租金: <input type="text" required class="rent" name="rent"/>元/月
        </table>
        <input type="submit" value="提交"  /><input type="reset" value="重置" />
    </form>
</body>
</html>
